CC := gcc
create: 01_create.c
	-gcc $^ -o $@
	-./$@
	-rm $@


create2: 01_create2.c
	-gcc $^ -o $@
	-./$@
	-rm $@

terminate: 02_terminate.c
	-gcc $^ -o $@
	-./$@
	-rm $@

cancel: 03_cancel.c
	-gcc $^ -o $@
	-./$@
	-rm $@

race_condition: 04_race_condition.c
	-gcc $^ -o $@
	-./$@
	-rm $@

lock: 05_lock.c
	-gcc $^ -o $@
	-./$@
	-rm $@

condition_var: 05_condition_var.c
	-gcc $^ -o $@
	-./$@
	-rm $@

sem_count: 06_sem_count.c
	-gcc $^ -o $@
	-./$@
	-rm $@